

import UIKit
import WebKit
class XWPrivacyPolicyViewController: UIViewController {

    
    @IBOutlet weak var XWWkWebView: WKWebView!
    override func viewDidLoad() {
        super.viewDidLoad()
        showUI()
    }
    @IBAction func XWBackButtonClick(_ sender: UIButton) {
       dismiss(animated: true, completion: nil)
    }
}
extension XWPrivacyPolicyViewController {
    private func showUI() {
        #if DEBUG
        let urlString = baseUrl + "privacy-policy.html"
        #else
        let urlString = "https://leadfirmly.com/privacy-policy.html"
        #endif
        let url = NSURL(string: urlString)
        let request = NSURLRequest(url: url! as URL)
        XWWkWebView.load(request as URLRequest)
    }
}
